This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.sln.docstates | |
# Build results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import q from "Q"; | |
getNameAsync().then(greet); | |
function getNameAsync(){ | |
const deferred = q.defer(); | |
deferred.resolve("Ksenia"); | |
return deferred.promise; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "bignumber.js" { | |
export interface ISettings { | |
DECIMAL_PLACES?: number; | |
ROUNDING_MODE?: number; | |
EXPONENTIAL_AT?: any; | |
RANGE?: any; | |
ERRORS?: any; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
%% Метод Эйлера %% | |
% Условие задачи | |
U = dsolve('Du = (t - u) / (t - 2*u)', 'u(0) = 1'); | |
tau0 = 0.03; | |
b = 0.3; | |
% Функция для нахождения аналитического решения | |
u = @(t)eval(U); | |
% Функция для нахождения приближенного решения | |
f = @(t,u) (t - u) / (t - 2*u); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear; | |
% Initializing ode45 options | |
options = odeset('AbsTol', 1.e-9, 'RelTol', 1.e-10); | |
f=@(x,u)[u(2);-u(3)*u(1);0]; | |
% values to test: | |
% [L1, L2] = [0.5, 0.6], | |
% [L1, L2] = [2.2, 2.3] | |
% [L1, L2] = [, ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Needs["FiniteFields`"]; | |
MultiplicativeGroupOfPolynomial[p_, g_, l_] := | |
Block[{polynomial = p, generating = g, limit = l}, | |
DeleteDuplicates@NestList[PolynomialMod[(generating*#), {polynomial, 2}] &, 1, limit] | |
]; | |
BinaryForm[p_, d_] := | |
Block[{polynomial = p, dimension = d}, | |
Reverse@CoefficientList[polynomial, \[Alpha], dimension] | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* обратный в поле полином *) | |
PolynomialBase = x^8 + x^4 + x^3 + x + 1; | |
NumericBase = 2; | |
InversePolynomial[p_] := Block[{result, polynomial = p, i, d, a, b}, | |
{d, {a, b}} = PolynomialExtendedGCD[polynomial, PolynomialBase, x, Modulus -> NumericBase]; | |
Return[PolynomialMod[a, NumericBase]]; | |
]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# initialization file (not found) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-08-31T15:13:13.892Z - info: Require 3 ios devices | |
2016-08-31T15:13:13.905Z - info: Require 0 android devices | |
2016-08-31T15:13:13.991Z - info: listening on *:3000 | |
[33mUnit Test app is loaded | |
[39m | |
[33mDEBUG thaliMobileNativeWrapper: Method peerAvailabilityChanged registered to native | |
DEBUG thaliMobileNativeWrapper: Method discoveryAdvertisingStateUpdateNonTCP registered to native |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-08-31T15:17:16.958Z - info: Require 3 ios devices | |
2016-08-31T15:17:16.960Z - info: Require 0 android devices | |
2016-08-31T15:17:17.005Z - info: listening on *:3000 | |
[32mUnit Test app is loaded | |
[39m | |
[32mDEBUG thaliMobileNativeWrapper: Method peerAvailabilityChanged registered to native | |
DEBUG thaliMobileNativeWrapper: Method discoveryAdvertisingStateUpdateNonTCP registered to native |
OlderNewer