glsl-frobenius
Computes the Frobenius norm of a matrix in glsl
Last updated 6 years ago by mikolalysenko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install glsl-frobenius 
SYNC missed versions from official npm registry.

glsl-frobenius

Computes the Frobenius norm of a matrix in glsl (that is the sum of the squares of the entries of the matrix).

Example

#pragma glslify : frob = require(glsl-frobenius)

Usage

Install with npm:

npm install glsl-frobenius

Then use with glslify.

API

#pragma glslify : frobenius = require(glsl-frobenius)

float frobenius(float|mat2|mat3|mat4 m)

Computes the Frobenius norm of m

  • m is a matrix

Returns The Frobenius norm of m

License

MIT

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

1 Versions

  • 1.0.0                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |