Skip to content

Files

Latest commit

f163104 · Dec 29, 2017

History

History
17 lines (12 loc) · 394 Bytes

norm.md

File metadata and controls

17 lines (12 loc) · 394 Bytes

Norm

Description: Euclidean norm of a rank 1 Tensor (Vector). Square root of the sum of the squared components sqrt( sum( T%a**2 )).

Property Value
Result Scalar-valued function
Data Types Tensor1

Example

type(Tensor1) :: v
real(kind=8)  :: norm_v

norm_v = norm(v)