vec_to_mat_add_diag: Vector to matrix and adding diag

View source: R/RcppExports.R

vec_to_mat_add_diagR Documentation

Vector to matrix and adding diag

Description

Create a matrix from a vector

Usage

vec_to_mat_add_diag(vec, ncol)

Arguments

vec

a numeric vector

n

number of columns of the matrix to create

Value

A square matrix

Author(s)

Sebastian Sosa.


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.