checkRn: Domain check for R^n

View source: R/domainChecks.R

checkRnR Documentation

Domain check for R^n

Description

The function checks if a point (one row in the input argument) is inside the n-dimensional Euclidean space R^n = \times_{i=1}^n R or not. In this case the return values are all TRUE. If the input matrix contains entries that are not numeric, i.e., not representing real numbers, the function throws an error. The dimension n is automatically inferred from the input matrix and is equal to the number of columns.

Usage

checkRn(x)

Arguments

x

Matrix with numeric entries. Each row represents one point

Value

Vector where each element (TRUE or FALSE) indicates if a point is in R^n

Author(s)

Klaus Herrmann

Examples

x <- matrix(rnorm(30),10,3)
checkRn(x)

multIntTestFunc documentation built on April 19, 2023, 5:07 p.m.