as.matrix.ggml_matrix: Extract the underlying matrix from a ggml_matrix

View source: R/gpu_linalg.R

as.matrix.ggml_matrixR Documentation

Extract the underlying matrix from a ggml_matrix

Description

Extract the underlying matrix from a ggml_matrix

Usage

## S3 method for class 'ggml_matrix'
as.matrix(x, ...)

Arguments

x

A ggml_matrix.

...

Ignored; present for S3 as.matrix compatibility.

Value

The plain numeric matrix.


ggmlR documentation built on July 14, 2026, 1:08 a.m.