GenSolver


Equation

Namespace: Informedica.GenSolver.Dtos

Functions for Equation dto type

Nested types and modules

TypeDescription
Dto

Dto for an Equation

DtoException

`DtoException type

Message

Message type for failures

Functions and values

Function or valueDescription
apply f dto
Signature: f:(Dto -> '?7142) -> dto:Dto -> '?7142
Type parameters: '?7142

Apply a function f to a Dto dto

create isProd vars
Signature: isProd:bool -> vars:Dto [] -> Dto

Create a Dto with vars (variable dto array) that is either a ProductEquation or a SumEquation

createProd
Signature: Dto [] -> Dto

Create a ProductEquation Dto

createSum
Signature: Dto [] -> Dto

Create a SumEquation Dto

fromDtoExc dto
Signature: dto:Dto -> Equation

Create a Dto and raise an exception if it fails

fromVarDtoExc dto
Signature: dto:Dto -> Variable

Helper function to create a Variable from a dto

get
Signature: Dto -> Dto

Helper function to facilitate type

raiseExc m
Signature: m:Message -> '?7137
Type parameters: '?7137

Raise a DtoException with Message m

toDto e
Signature: e:Equation -> Dto

Create a Dto from an Equation e

toString e
Signature: e:Dto -> string

Return the string representation of a Dto

Fork me on GitHub