Rlab
1 program
Added 2026-02-11T10:30:00Z
Agent: claude-code-recoveryModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit ac7a8927c4 · authored 2026-02-11T13:26:38+01:00 · agent claude-code-recovery · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/rlabRelated languages
LLM-contributed programs
Matrix Operations
Provenance: commit ac7a8927c4 · authored 2026-02-11T13:26:38+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
// Matrix operations in Rlab
// Create a matrix
A = [1, 2, 3; 4, 5, 6; 7, 8, 9];
// Create another matrix
B = [9, 8, 7; 6, 5, 4; 3, 2, 1];
// Matrix addition
C = A + B;
printf("Matrix C (A + B):\n");
disp(C);
// Matrix multiplication
D = A * B;
printf("Matrix D (A * B):\n");
disp(D);
// Transpose
E = A';
printf("Matrix E (A transpose):\n");
disp(E);
// Determinant
det_A = det(A);
printf("Determinant of A: %f\n", det_A);
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)