0 people like it.

numerics-portable.fsx

A snippet exported from Try F#.

1: 
2: 
3: 
4: 
#r "cpoulain/System.Numerics.dll"
open System.Numerics

let c = new Complex(1.0, 1.0)
namespace System
namespace System.Numerics
val c : Complex

Full name: Script.c
Multiple items
type Complex =
  struct
    new : real:float * imaginary:float -> Complex
    member Equals : obj:obj -> bool + 1 overload
    member GetHashCode : unit -> int
    member Imaginary : float
    member Magnitude : float
    member Phase : float
    member Real : float
    member ToString : unit -> string + 3 overloads
    static val Zero : Complex
    static val One : Complex
    ...
  end

Full name: System.Numerics.Complex

--------------------
Complex()
Complex(real: float, imaginary: float) : unit
Raw view New version

More information

Link:http://fssnip.net/fz
Posted:4 years ago
Author:cpoulain
Tags: tryfsharp