- Create a github readme. To do it, create
YourUsernamerepo. - In your repo, create
./github/workflows/website_mirror.ymland paste the content of the file below into it. - Go to its
Settings -> Pages, selectgh-pagesas Source. - Create README.md in the root of the repo. Fill it with your info!
- Done! Your personal web page is at
yourusername.github.io/YourUsername.
| using System.Runtime.InteropServices; | |
| using System.Runtime.CompilerServices; | |
| <# var typesArray = new[]{ "byte", "sbyte", "ushort", "short", "uint", "int", "ulong", "long", "float", "double" }; #> | |
| <# var types = new System.Collections.Generic.List<(string, int)>(); #> | |
| <# var i = 0; | |
| foreach (var type in typesArray) | |
| { | |
| types.Add((type, i)); | |
| i++; |
| // Licensed to the .NET Foundation under one or more agreements. | |
| // The .NET Foundation licenses this file to you under the MIT license. | |
| //On unix make sure to compile using -ldl and -pthread flags. | |
| //Set this value accordingly to your workspace settings | |
| #if defined(_WIN32) | |
| // #define PathToLibrary "D:\\main\\vs_prj\\AngouriMath\\AngouriMath\\Sources\\AngouriMath\\bin\\Release\\netstandard2.0\\win-x64\\native\\AngouriMath.dll" | |
| #define PathToLibrary "D:\\main\\vs_prj\\nativeaottest\\Test\\bin\\release\\netstandard2.0\\win-x64\\publish\\Test.dll" | |
| #elif defined(__APPLE__) |
| /* | |
| Do NOT use it. It is not efficient. | |
| */ | |
| #include <iostream> | |
| #include <vector> | |
| #include <algorithm> |
Придется покупать и домен, и хостинг. Будем делать почту, синонимичную нашей основной (т. е. полученные на корп. почту вы получите на основной, а при отправке вы сможете выбрать почту, с какой отправлять).
В ISPManager -> Почта -> Почтовые ящики -> [наш ящик] -> Слать копии писем на email ставим сюда свой email.
Well, first of all, it's a computer/symbolic algebra library. Say, are you familiar with SymPy? If so, think of AngouriMath as of something similar, but for .NET. It's .NET, after all, which is going to rule the programming world, not python.
If you don't know SymPy, AngouriMath can be similar to Wolfram|Alpha in some way. You can manipulate so-called symbolic expressions, that is, mathematical expressions written within a normal human notation (aka with functions, operators, etc.), and variables.
| /* | |
| i7-7700HQ | |
| | Method | 10 | 1_000 | 30_000 | 1_000_000 | 16_000_000 | | |
| |---------------- |----------:|----------:|----------:|-----------:|-----------:| | |
| | TestSlowChaotic | 0.9583 ns | 1.0177 ns | 2.8141 ns | 21.2463 ns | 86.9868 ns | | |
| | TestFastChaotic | 0.9741 ns | 0.9583 ns | 2.7750 ns | 24.7405 ns | 86.9611 ns | | |
| | TestSlowRow | 0.8036 ns | 0.7278 ns | 0.7230 ns | 0.7543 ns | 0.6666 ns | | |
| | TestFastRow | 0.3722 ns | 0.3746 ns | 0.3648 ns | 0.6517 ns | 0.5979 ns | | |
| */ |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Linq; | |
| using System.Linq.Expressions; | |
| using System.Threading.Tasks; | |
| public static class NestedLoopBuilder | |
| { | |
| public static Expression CreateLoop(ParameterExpression var, Expression until, Expression onIter) |
Hello!
For this article we take Tensor as a N-dimensional array whose last two axes might be interpreted as Matrix and/or the last axis might be interpreted as Vector. For TLDR the result is here.
- Tensors (N-dimensional storage)
- Implementation of methods and functions for working with tensors as with data storages
| class InteractionField: | |
| def __init__(self, F): | |
| self.points = [] | |
| self.F = F | |
| def move_all(self, dt): | |
| for p in self.points: | |
| p.move(dt) |