# glsl-frobenius

> Computes the Frobenius norm of a matrix in glsl

Latest version **1.0.0** (published 2014-10-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install glsl-frobenius
pnpm add glsl-frobenius
yarn add glsl-frobenius
bun add glsl-frobenius
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-10-10 |
| First published | 2014-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | frobenius, norm, matrix, squares, glsl, glslify |

## Links

- npm: https://www.npmjs.com/package/glsl-frobenius
- Repository: https://github.com/stackgl/glsl-frobenius
- Issues: https://github.com/stackgl/glsl-frobenius/issues
- npm.io page: https://npm.io/package/glsl-frobenius

## Recent versions

- 1.0.0 (latest) — 2014-10-10

## README

# glsl-frobenius

Computes the [Frobenius norm](https://en.wikipedia.org/wiki/Matrix_norm#Frobenius_norm) of a matrix in glsl (that is the sum of the squares of the entries of the matrix).

# Example

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

# Usage

Install with npm:

```
npm install glsl-frobenius
```

Then use with [glslify](https://github.com/stackgl/glslify).

# API

```glsl
#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

---
_Source: https://npm.io/package/glsl-frobenius · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
