brobmat: Brobdingnagian matrices

brobmatR Documentation

Brobdingnagian matrices

Description

Basic matrix arithmetic for Brobdingnagian numbers. Matrix addition, multiplication extraction and replacement implemented but not the determinant or matrix inverse.

Usage

brobmat(..., positive)
newbrobmat(x,positive)
as.brobmat(x)
is.brobmat(x)
brobmat_to_brob(x)
diag(x,...)
## S3 method for class 'brobmat'
print(x,...)
t(x,...)

Arguments

x

Argument

...

Further arguments

positive

Logical, indicating whether an element is positive

Details

Basic arithmetic for Brobdingnagian matrices.

Function brobmat() is like brob() in that it interprets its first argument as the exponent (but creates a matrix). Function as.brobmat() coerces a numeric matrix to a brobmat.

Value

Generally return a brobmat or brob.

Author(s)

Robin K. S. Hankin

Examples


brobmat(-10:19,5,6)
as.brobmat(matrix(-10:19,5,6))


RobinHankin/Brobdingnag documentation built on July 29, 2023, 1:18 a.m.