forked from tsai/mathnet-numerics
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
777 B
17 lines
777 B
#I "../../out/lib/Net40"
|
|
#r "MathNet.Numerics.dll"
|
|
#r "MathNet.Numerics.FSharp.dll"
|
|
|
|
// ***MathNet.Numerics.fsx*** (DO NOT REMOVE THIS COMMENT, everything below is copied to the output)
|
|
|
|
open MathNet.Numerics
|
|
open MathNet.Numerics.LinearAlgebra
|
|
|
|
fsi.AddPrinter(fun (matrix:Matrix<float>) -> matrix.ToString())
|
|
fsi.AddPrinter(fun (matrix:Matrix<float32>) -> matrix.ToString())
|
|
fsi.AddPrinter(fun (matrix:Matrix<complex>) -> matrix.ToString())
|
|
fsi.AddPrinter(fun (matrix:Matrix<complex32>) -> matrix.ToString())
|
|
fsi.AddPrinter(fun (vector:Vector<float>) -> vector.ToString())
|
|
fsi.AddPrinter(fun (vector:Vector<float32>) -> vector.ToString())
|
|
fsi.AddPrinter(fun (vector:Vector<complex>) -> vector.ToString())
|
|
fsi.AddPrinter(fun (vector:Vector<complex32>) -> vector.ToString())
|
|
|