solve: solve

solveR Documentation

solve

Description

Solve a system of equations or invert a float matrix.

Usage

## S4 method for signature 'float32'
solve(a, b, ...)

Arguments

a, b

A float vector/matrix.

...

Ignored.

Value

A float matrix if inverting. If solving a system, a float vector if given one "right hand side", and a float matrix otherwise (just like R).

Examples

library(float)

s = flrunif(10, 3)
cp = crossprod(s)
solve(cp)

y = fl(1:3)
solve(cp, y)


float documentation built on May 29, 2024, 8:13 a.m.