Veho 0.5.12
dotnet add package Veho --version 0.5.12
NuGet\Install-Package Veho -Version 0.5.12
<PackageReference Include="Veho" Version="0.5.12" />
paket add Veho --version 0.5.12
#r "nuget: Veho, 0.5.12"
// Install Veho as a Cake Addin #addin nuget:?package=Veho&version=0.5.12 // Install Veho as a Cake Tool #tool nuget:?package=Veho&version=0.5.12
Extend enumerable and array functionalities
Features
Veho is an extension lib for iterable e.g. array, 2d-array and dictionary.
Content
Package | Content |
---|---|
Veho |
The core library, including all Veho sub projects |
Veho.Dictionary |
Extend IDictionary<TK, TV> |
Veho.Entries |
Extend IReadOnlyList<(TK key, TV value)> |
Veho.Enumerable |
Extend IEnumerable<T> |
Veho.Linear |
Perform basic linear algebra for matrix |
Veho.Matrix |
Extend T[,] |
Veho.Mutable.Matrix |
Extend IReadOnlyList<IReadOnlyList<T>> |
Veho.PanBase.Matrix |
Extend T[,] |
Veho.Sequence |
Extend IReadOnlyList<T> to List<T> |
Veho.Tuple |
Extend (T, T), (T, T, T), (T, T, T, T) |
Veho.Types |
Base types in Veho series |
Veho.Vector |
Extend T[] |
Install
Veho targets .NET Standard 2.0, fits both .NET and .NET Framework.
Install Veho package and sub packages.
NuGet Package Manager:
Install-Package Veho
.NET CLI:
dotnet add package Veho
All versions can be found on nuget.
Usage
Zip two arrays into an new array
using Veho.Vector
var vecA = new[] {1, 2, 3, 4, 5};
var vecB = new[] {2, 2, 0, 3, 3};
Func<int, int, int> fn = (x, y) => x * y;
var vecC = fn.Zipper(vecA, vecB);
Console.WriteLine(string.Join(", ", vecC));
Compute max by reducing an array
using Veho.Vector;
var vec = Vec.From(1, 4, 6, 3, 2);
var max = vec.Reduce(Math.Max);
Console.WriteLine(max);
Push a value into an array
using Veho.Vector;
using Spare;
var arr = Vec.From("a", "b", "c");
arr.Push("d")
Console.WriteLine(arr.Deco())
Examples
Veho has a test suite in the test project.
Feedback
Veho is licensed under the MIT license.
Bug report and contribution are welcome at the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Veho.Dictionary (>= 0.5.12)
- Veho.Entries (>= 0.5.12)
- Veho.Enumerable (>= 0.5.12)
- Veho.Matrix (>= 0.5.12)
- Veho.Mutable.Matrix (>= 0.5.12)
- Veho.PanBase.Matrix (>= 0.5.12)
- Veho.Sequence (>= 0.5.12)
- Veho.Tuple (>= 0.5.12)
- Veho.Types (>= 0.5.12)
- Veho.Vector (>= 0.5.12)
NuGet packages (14)
Showing the top 5 NuGet packages that depend on Veho:
Package | Downloads |
---|---|
Aryth.Bounds
Bound for 1d-array and 2d-array |
|
Palett.Fluos
Color 1d-array and 2d-array |
|
Spare.Padder
Format each element of enumerables with identical string width |
|
Spare.Deco
Format enumerables: array, 2d-array, dictionary, etc. into string for console output |
|
Palett.Munsell
Color conversion |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.5.12 | 227 | 11/4/2024 |
0.5.11 | 617 | 11/2/2024 |
0.5.10 | 10,131 | 10/10/2021 |
0.5.9 | 3,739 | 10/7/2021 |
0.5.8 | 346 | 10/5/2021 |
0.5.7 | 2,647 | 10/5/2021 |
0.5.6 | 902 | 10/5/2021 |
0.5.5 | 342 | 10/4/2021 |
0.5.4 | 1,345 | 10/3/2021 |
0.5.3 | 327 | 10/3/2021 |
0.5.2 | 312 | 10/3/2021 |
0.5.1 | 336 | 9/29/2021 |
0.5.0 | 385 | 9/28/2021 |
0.4.18 | 5,647 | 9/26/2021 |
0.4.17 | 761 | 9/26/2021 |
0.4.16 | 390 | 9/26/2021 |
0.4.15 | 1,221 | 9/26/2021 |
0.4.14 | 343 | 9/25/2021 |
0.4.13 | 6,690 | 9/3/2021 |
0.4.12 | 2,306 | 9/3/2021 |
0.4.11 | 375 | 9/2/2021 |
0.4.10 | 338 | 9/2/2021 |
0.4.9 | 2,774 | 9/2/2021 |
0.4.8 | 1,724 | 9/2/2021 |
0.4.7 | 2,264 | 9/2/2021 |
0.4.6 | 357 | 9/2/2021 |
0.4.5 | 378 | 9/2/2021 |
0.4.4 | 1,658 | 8/31/2021 |
0.4.3 | 1,119 | 8/31/2021 |
0.4.2 | 1,585 | 8/31/2021 |
0.4.0 | 1,185 | 8/31/2021 |
0.3.6 | 2,465 | 8/30/2021 |
0.3.5 | 2,922 | 8/29/2021 |
0.3.4 | 362 | 8/29/2021 |
0.3.3 | 348 | 8/26/2021 |
0.3.2 | 378 | 8/20/2021 |
0.3.1 | 3,018 | 8/20/2021 |
0.3.0 | 2,261 | 8/17/2021 |
0.2.18 | 3,770 | 8/16/2021 |
0.2.16 | 1,510 | 8/16/2021 |
0.2.15 | 368 | 8/16/2021 |
0.2.14 | 781 | 8/16/2021 |
0.2.13 | 346 | 8/15/2021 |
0.2.12 | 382 | 8/15/2021 |
0.2.11 | 352 | 8/15/2021 |
0.2.10 | 3,945 | 8/12/2021 |
0.2.9 | 358 | 8/12/2021 |
0.2.8 | 397 | 8/12/2021 |
0.2.7 | 397 | 8/12/2021 |
0.2.6 | 375 | 8/12/2021 |
0.2.4 | 1,245 | 8/12/2021 |
0.2.3 | 573 | 8/12/2021 |
0.2.2 | 369 | 8/12/2021 |
0.2.1 | 365 | 8/12/2021 |
0.2.0 | 366 | 8/12/2021 |
0.1.18 | 2,235 | 3/7/2021 |
0.1.17 | 1,088 | 3/7/2021 |
0.1.16 | 389 | 3/7/2021 |
0.1.15 | 434 | 3/7/2021 |
0.1.14 | 399 | 3/7/2021 |
0.1.12 | 415 | 3/6/2021 |
0.1.11 | 409 | 3/6/2021 |
0.1.10 | 618 | 3/5/2021 |
0.1.9 | 836 | 3/1/2021 |
0.1.8 | 393 | 2/28/2021 |
0.1.7 | 377 | 2/27/2021 |
0.1.6 | 368 | 2/27/2021 |
0.1.5 | 358 | 2/27/2021 |
0.1.4 | 354 | 2/18/2021 |
0.1.3 | 391 | 2/7/2021 |
0.1.1 | 9,724 | 1/30/2021 |
0.1.0 | 398 | 1/30/2021 |
0.0.29 | 1,966 | 1/29/2021 |
0.0.26 | 369 | 1/29/2021 |
0.0.25 | 1,670 | 1/29/2021 |
0.0.24 | 347 | 1/29/2021 |
0.0.23 | 352 | 1/29/2021 |
0.0.22 | 1,502 | 1/28/2021 |
0.0.21 | 367 | 1/28/2021 |
0.0.19 | 363 | 1/28/2021 |
0.0.18 | 400 | 1/26/2021 |
0.0.17 | 1,703 | 1/25/2021 |
0.0.16 | 375 | 1/25/2021 |
0.0.15 | 627 | 1/25/2021 |
0.0.14 | 410 | 1/25/2021 |
0.0.13 | 378 | 1/25/2021 |
0.0.12 | 356 | 1/24/2021 |
0.0.11 | 420 | 1/24/2021 |
0.0.10 | 413 | 1/24/2021 |
0.0.9 | 415 | 1/23/2021 |
0.0.8 | 557 | 1/22/2021 |
0.0.7 | 419 | 1/19/2021 |
0.0.6 | 415 | 1/19/2021 |
0.0.5 | 416 | 1/19/2021 |
0.0.4 | 433 | 1/19/2021 |
0.0.1-alpha | 290 | 11/2/2020 |