Veho 0.5.12

There is a newer version of this package available.
See the version list below for details.
dotnet add package Veho --version 0.5.12                
NuGet\Install-Package Veho -Version 0.5.12                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Veho" Version="0.5.12" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Veho --version 0.5.12                
#r "nuget: Veho, 0.5.12"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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                

Banner

Extend enumerable and array functionalities

Version Downloads Dependent Libraries Language Compatibility License

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.6.5 26 11/25/2024
0.6.4 40 11/25/2024
0.6.3 55 11/24/2024
0.6.2 39 11/24/2024
0.6.1 54 11/24/2024
0.6.0 41 11/24/2024
0.5.13 52 11/21/2024
0.5.12 320 11/4/2024
0.5.11 633 11/2/2024
0.5.10 10,136 10/10/2021
0.5.9 3,742 10/7/2021
0.5.8 349 10/5/2021
0.5.7 2,650 10/5/2021
0.5.6 905 10/5/2021
0.5.5 345 10/4/2021
0.5.4 1,348 10/3/2021
0.5.3 330 10/3/2021
0.5.2 315 10/3/2021
0.5.1 339 9/29/2021
0.5.0 388 9/28/2021
0.4.18 5,650 9/26/2021
0.4.17 764 9/26/2021
0.4.16 393 9/26/2021
0.4.15 1,224 9/26/2021
0.4.14 348 9/25/2021
0.4.13 6,693 9/3/2021
0.4.12 2,309 9/3/2021
0.4.11 378 9/2/2021
0.4.10 341 9/2/2021
0.4.9 2,777 9/2/2021
0.4.8 1,727 9/2/2021
0.4.7 2,267 9/2/2021
0.4.6 360 9/2/2021
0.4.5 381 9/2/2021
0.4.4 1,661 8/31/2021
0.4.3 1,122 8/31/2021
0.4.2 1,588 8/31/2021
0.4.0 1,188 8/31/2021
0.3.6 2,468 8/30/2021
0.3.5 2,925 8/29/2021
0.3.4 365 8/29/2021
0.3.3 351 8/26/2021
0.3.2 383 8/20/2021
0.3.1 3,021 8/20/2021
0.3.0 2,268 8/17/2021
0.2.18 3,773 8/16/2021
0.2.16 1,513 8/16/2021
0.2.15 371 8/16/2021
0.2.14 786 8/16/2021
0.2.13 349 8/15/2021
0.2.12 385 8/15/2021
0.2.11 355 8/15/2021
0.2.10 3,948 8/12/2021
0.2.9 361 8/12/2021
0.2.8 400 8/12/2021
0.2.7 400 8/12/2021
0.2.6 378 8/12/2021
0.2.4 1,248 8/12/2021
0.2.3 578 8/12/2021
0.2.2 372 8/12/2021
0.2.1 368 8/12/2021
0.2.0 369 8/12/2021
0.1.18 2,238 3/7/2021
0.1.17 1,093 3/7/2021
0.1.16 392 3/7/2021
0.1.15 437 3/7/2021
0.1.14 402 3/7/2021
0.1.12 418 3/6/2021
0.1.11 412 3/6/2021
0.1.10 621 3/5/2021
0.1.9 839 3/1/2021
0.1.8 396 2/28/2021
0.1.7 380 2/27/2021
0.1.6 371 2/27/2021
0.1.5 361 2/27/2021
0.1.4 357 2/18/2021
0.1.3 394 2/7/2021
0.1.1 9,727 1/30/2021
0.1.0 401 1/30/2021
0.0.29 1,969 1/29/2021
0.0.26 372 1/29/2021
0.0.25 1,673 1/29/2021
0.0.24 350 1/29/2021
0.0.23 355 1/29/2021
0.0.22 1,505 1/28/2021
0.0.21 370 1/28/2021
0.0.19 366 1/28/2021
0.0.18 403 1/26/2021
0.0.17 1,706 1/25/2021
0.0.16 378 1/25/2021
0.0.15 630 1/25/2021
0.0.14 413 1/25/2021
0.0.13 381 1/25/2021
0.0.12 361 1/24/2021
0.0.11 423 1/24/2021
0.0.10 416 1/24/2021
0.0.9 418 1/23/2021
0.0.8 560 1/22/2021
0.0.7 422 1/19/2021
0.0.6 418 1/19/2021
0.0.5 419 1/19/2021
0.0.4 436 1/19/2021
0.0.1-alpha 293 11/2/2020