You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > NormL1 Method > TOpenCLMtxVec.NormL1 Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.NormL1 Method ()

Calculate the L1-norm of the calling vector.

Pascal
function NormL1: double; overload;

L-1 norm, defined by the following equation: 

NormL1 = Sum(|a[i]|), 0 < i < Length-1

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!