DiffSharp


Dtype Module

Namespace: DiffSharp

Assembly: DiffSharp.Core.dll


Functions and values

Function or value Description
Default
Full Usage:
Default
Return Type: Dtype
Signature: Dtype
Return Type: Dtype
Register name inOutType
Full Usage:
Register name inOutType Parameter Types:
  • name : string
  • inOutType : Type

Return Type: Dtype
Signature: name: string -> inOutType: Type -> Dtype
Parameter Types:
  • name : string
  • inOutType : Type
Return Type: Dtype
ofType ty
Full Usage:
ofType ty Parameter Types:
  • ty : Type

Return Type: Dtype
Signature: ty: Type -> Dtype

Convert System.Type to Dtype


Parameter Types:
  • ty : Type
Return Type: Dtype
widen dtype1 dtype2
Full Usage:
widen dtype1 dtype2 Parameter Types:
  • dtype1 : Dtype
  • dtype2 : Dtype

Return Type: Dtype option
Signature: dtype1: Dtype -> dtype2: Dtype -> Dtype option

Find the Dtype into which dtype1 and dtype2 can be widened


Parameter Types:
  • dtype1 : Dtype
  • dtype2 : Dtype
Return Type: Dtype option

Active patterns

Active pattern Description
( |FloatingPoint|_| ) x
Full Usage:
( |FloatingPoint|_| ) x Parameter Types:
  • x : Dtype

Return Type: unit option
Signature: x: Dtype -> unit option
Parameter Types:
  • x : Dtype
Return Type: unit option
( |IntegralOrBool|_| ) x
Full Usage:
( |IntegralOrBool|_| ) x Parameter Types:
  • x : Dtype

Return Type: unit option
Signature: x: Dtype -> unit option
Parameter Types:
  • x : Dtype
Return Type: unit option
( |Integral|_| ) x
Full Usage:
( |Integral|_| ) x Parameter Types:
  • x : Dtype

Return Type: unit option
Signature: x: Dtype -> unit option
Parameter Types:
  • x : Dtype
Return Type: unit option