square_magnitudes: Square Magnitudes with caching

View source: R/matrixFunctions.R

square_magnitudesR Documentation

Square Magnitudes with caching

Description

square_magnitudes Returns the square magnitudes and caches them if necessary

Usage

square_magnitudes(object)

Arguments

VectorSpaceModel

A matrix or VectorSpaceModel object

Value

A vector of the square magnitudes for each row


bmschmidt/wordVectors documentation built on June 2, 2022, 3:53 p.m.