Logo GenPRES

General Module

Creates a General unit with a name and a value, or with a name and the value 1. The function general, which sets the value 1, raises an ArgumentException for a blank name.

Functions and values

Function or value Description

general n

Full Usage: general n

Parameters:
    n : string

Returns: Unit

create a general unit with unit value = 1

n : string
Returns: Unit

toGeneral (arg1, arg1)

Full Usage: toGeneral (arg1, arg1)

Parameters:
Returns: Unit

create a general unit

arg0 : string
arg1 : BigRational
Returns: Unit

Type something to start searching.