Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -4,11 +4,11 @@ import system'collections;
|
|||
|
||||
public program()
|
||||
{
|
||||
var n := console.write:"Enter the matrix size:".readLine().toInt();
|
||||
var n := console.write("Enter the matrix size:").readLine().toInt();
|
||||
|
||||
var identity := new Range(0, n).selectBy:(i => new Range(0,n).selectBy:(j => (i == j).iif(1,0) ).summarize(new ArrayList()))
|
||||
var identity := new Range(0, n).selectBy::(i => new Range(0,n).selectBy::(j => (i == j).iif(1,0) ).summarize(new ArrayList()))
|
||||
.summarize(new ArrayList());
|
||||
|
||||
identity.forEach:
|
||||
identity.forEach::
|
||||
(row) { console.printLine(row.asEnumerable()) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue