C# WPF 一个设计界面

article/2025/10/12 23:34:32

微信公众号:Dotnet9,网站:Dotnet9,问题或建议:请网站留言,
如果对您有所帮助:欢迎赞赏。

C# WPF 一个设计界面

今天正月初三,大家在家呆着挺好,不要忘了自我充电。

武汉人民加油,今早又有噩耗,24号(8号)一路走好。

阅读导航

  1. 本文背景
  2. 代码实现
  3. 本文参考
  4. 源码

1. 本文背景

一个不错的界面设计
在这里插入图片描述

2. 代码实现

使用 .NET Framework 4.8 创建名为 “Dashboard1” 的WPF模板项目,添加3个Nuget库:MaterialDesignThemes.3.1.0-ci981、MaterialDesignColors.1.2.3-ci981和ModernUICharts.WPF.Beta.0.9.1,ModernUICharts 库用于绘制统计图,此库没有 .NET CORE 版本,所以项目是创建的 .NET Framework 版本。

解决方案主要文件目录组织结构:

  • Dashboard1
    • App.xaml
    • MainWindow.xaml
      • MainWindow.xaml.cs

2.1 引入样式

文件【App.xaml】,在 StartupUri 中设置启动的视图【MainWindow.xaml】,并在【Application.Resources】节点增加 MaterialDesignThemes库的样式文件:

<Application.Resources><ResourceDictionary><ResourceDictionary.MergedDictionaries><ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml" /><ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml" /></ResourceDictionary.MergedDictionaries></ResourceDictionary>
</Application.Resources>

2.2 演示窗体

文件【MainWindow.xaml】,布局代码、统计图MVVM绑定代码都在此文件中,源码如下:

<Window x:Class="Dashboard1.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"xmlns:MetroChart="clr-namespace:De.TorstenMandelkow.MetroChart;assembly=De.TorstenMandelkow.MetroChart"mc:Ignorable="d" Height="600" Width="1024" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowStyle="None"><Window.Resources><ResourceDictionary><Style x:Key="ScrollThumbs" TargetType="{x:Type Thumb}"><Setter Property="Template"><Setter.Value><ControlTemplate TargetType="{x:Type Thumb}"><Grid x:Name="Grid"><Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Fill="Transparent" /><Border x:Name="Rectangle1" CornerRadius="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto"  Background="{TemplateBinding Background}" /></Grid><ControlTemplate.Triggers><Trigger Property="Tag" Value="Horizontal"><Setter TargetName="Rectangle1" Property="Width" Value="Auto" /><Setter TargetName="Rectangle1" Property="Height" Value="7" /></Trigger></ControlTemplate.Triggers></ControlTemplate></Setter.Value></Setter></Style><!--ScrollBars--><Style x:Key="{x:Type ScrollBar}" TargetType="{x:Type ScrollBar}"><Setter Property="Stylus.IsFlicksEnabled" Value="false" /><Setter Property="Foreground" Value="LightGray" /><Setter Property="Background" Value="DarkGray" /><Setter Property="Width" Value="10" /><Setter Property="Template"><Setter.Value><ControlTemplate TargetType="{x:Type ScrollBar}"><Grid x:Name="GridRoot" Width="19" Background="{x:Null}"><Track x:Name="PART_Track" Grid.Row="0" IsDirectionReversed="true" Focusable="false"><Track.Thumb><Thumb x:Name="Thumb" Background="{TemplateBinding Foreground}" Style="{DynamicResource ScrollThumbs}" /></Track.Thumb><Track.IncreaseRepeatButton><RepeatButton x:Name="PageUp" Command="ScrollBar.PageDownCommand" Opacity="0" Focusable="false" /></Track.IncreaseRepeatButton><Track.DecreaseRepeatButton><RepeatButton x:Name="PageDown" Command="ScrollBar.PageUpCommand" Opacity="0" Focusable="false" /></Track.DecreaseRepeatButton></Track></Grid><ControlTemplate.Triggers><Trigger SourceName="Thumb" Property="IsMouseOver" Value="true"><Setter Value="{DynamicResource ButtonSelectBrush}" TargetName="Thumb" Property="Background" /></Trigger><Trigger SourceName="Thumb" Property="IsDragging" Value="true"><Setter Value="{DynamicResource DarkBrush}" TargetName="Thumb" Property="Background" /></Trigger><Trigger Property="IsEnabled" Value="false"><Setter TargetName="Thumb" Property="Visibility" Value="Collapsed" /></Trigger><Trigger Property="Orientation" Value="Horizontal"><Setter TargetName="GridRoot" Property="LayoutTransform"><Setter.Value><RotateTransform Angle="-90" /></Setter.Value></Setter><Setter TargetName="PART_Track" Property="LayoutTransform"><Setter.Value><RotateTransform Angle="-90" /></Setter.Value></Setter><Setter Property="Width" Value="Auto" /><Setter Property="Height" Value="12" /><Setter TargetName="Thumb" Property="Tag" Value="Horizontal" /><Setter TargetName="PageDown" Property="Command" Value="ScrollBar.PageLeftCommand" /><Setter TargetName="PageUp" Property="Command" Value="ScrollBar.PageRightCommand" /></Trigger></ControlTemplate.Triggers></ControlTemplate></Setter.Value></Setter></Style></ResourceDictionary></Window.Resources><Grid><Grid.ColumnDefinitions><ColumnDefinition Width="200"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions><Grid.RowDefinitions><RowDefinition Height="30"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid Grid.Column="1" Grid.Row="1" Background="#FFCFCFCF"><ScrollViewer><Grid><Grid.RowDefinitions><RowDefinition Height="200"/><RowDefinition Height="*"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid.ColumnDefinitions><ColumnDefinition Width="1*"/><ColumnDefinition Width="1*"/><ColumnDefinition Width="1*"/></Grid.ColumnDefinitions><Grid Grid.Column="0"><Rectangle Height="120" Margin="20" Fill="White" RadiusY="10" RadiusX="10" ><Rectangle.Effect><DropShadowEffect BlurRadius="20" Color="#FFDEDEDE" RenderingBias="Quality" ShadowDepth="1"/></Rectangle.Effect></Rectangle><Grid Margin="25" Height="120"><Grid Width="35" Height="50" Background="#FFFFAF24" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20 0"><Grid.Effect><DropShadowEffect BlurRadius="20" Color="#FFECECEC" RenderingBias="Quality" ShadowDepth="1"/></Grid.Effect><materialDesign:PackIcon Kind="ContentCopy" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="5" Foreground="White" Width="20" Height="20"/></Grid><TextBlock Text="使用空间" HorizontalAlignment="Right" FontFamily="Champagne &amp; Limousines" Margin="5" VerticalAlignment="Top" Foreground="Gray"/><StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10 20"><TextBlock Text="49/50" FontFamily="Champagne &amp; Limousines" VerticalAlignment="Center" Foreground="Gray" FontSize="50"/><TextBlock Text="GB" FontFamily="Champagne &amp; Limousines" Margin="0 5" Foreground="Gray" FontSize="20" VerticalAlignment="Bottom"/></StackPanel><StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="20" Cursor="Hand"><materialDesign:PackIcon Kind="AlertOutline" Foreground="Red" Width="10" Height="10" VerticalAlignment="Center" Margin="5 0"/><TextBlock Text="获得更多空间" FontSize="8" Foreground="#FF8522BD"/></StackPanel></Grid></Grid><Grid Grid.Column="1"><Rectangle Height="120" Margin="20" Fill="White" RadiusY="10" RadiusX="10" ><Rectangle.Effect><DropShadowEffect BlurRadius="20" Color="#FFDEDEDE" RenderingBias="Quality" ShadowDepth="1"/></Rectangle.Effect></Rectangle><Grid Margin="25" Height="120"><Grid Width="35" Height="50" Background="#FF41A43C" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20 0"><Grid.Effect><DropShadowEffect BlurRadius="20" Color="#FFECECEC" RenderingBias="Quality" ShadowDepth="1"/></Grid.Effect><materialDesign:PackIcon Kind="Store" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="5" Foreground="White" Width="20" Height="20"/></Grid><TextBlock Text="收入" HorizontalAlignment="Right" FontFamily="Champagne &amp; Limousines" Margin="5" VerticalAlignment="Top" Foreground="Gray"/><StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10 30"><TextBlock Text="¥" FontFamily="Champagne &amp; Limousines" Margin="0 2" Foreground="Gray" FontSize="20" VerticalAlignment="Bottom"/><TextBlock Text="35.674,00" FontFamily="Champagne &amp; Limousines" VerticalAlignment="Center" Foreground="Gray" FontSize="30"/></StackPanel><StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="20"><materialDesign:PackIcon Kind="Calendar" Foreground="Gray" Width="10" Height="10" VerticalAlignment="Center" Margin="5 0"/><TextBlock Text="最近24小时" FontSize="8" Foreground="Gray"/></StackPanel></Grid></Grid><Grid Grid.Column="2"><Rectangle Height="120" Margin="20" Fill="White" RadiusY="10" RadiusX="10" ><Rectangle.Effect><DropShadowEffect BlurRadius="20" Color="#FFDEDEDE" RenderingBias="Quality" ShadowDepth="1"/></Rectangle.Effect></Rectangle><Grid Margin="25" Height="120"><Grid Width="35" Height="50" Background="#FFCF1F1F" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20 0"><Grid.Effect><DropShadowEffect BlurRadius="20" Color="#FFECECEC" RenderingBias="Quality" ShadowDepth="1"/></Grid.Effect><materialDesign:PackIcon Kind="InformationOutline" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="5" Foreground="White" Width="20" Height="20"/></Grid><TextBlock Text="修正的错误" HorizontalAlignment="Right" FontFamily="Champagne &amp; Limousines" Margin="5" VerticalAlignment="Top" Foreground="Gray"/><StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10 30"><TextBlock Text="75" FontFamily="Champagne &amp; Limousines" VerticalAlignment="Center" Foreground="Gray" FontSize="40"/></StackPanel><StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="20"><materialDesign:PackIcon Kind="GithubCircle" Foreground="Gray" Width="10" Height="10" VerticalAlignment="Center" Margin="5 0"/><TextBlock Text="Github" FontSize="8" Foreground="Gray"/></StackPanel></Grid></Grid><Grid Grid.Row="1" Grid.RowSpan="2" Grid.ColumnSpan="3" HorizontalAlignment="Center" Width="580" Height="510"><Grid Background="White" Margin="20 50 20 20"><Grid.OpacityMask><VisualBrush Visual="{ Binding ElementName=BorderG1 }"/></Grid.OpacityMask><Border x:Name="BorderG1" CornerRadius="5" Background="White"/><StackPanel VerticalAlignment="Bottom" ><TextBlock Text="日收入" Margin="10 0" FontFamily="Champagne &amp; Limousines" Foreground="Gray" FontSize="20"/><StackPanel Orientation="Horizontal" Margin="20 5"><materialDesign:PackIcon Kind="ArrowUp" Foreground="Green" VerticalAlignment="Center"/><TextBlock Text="55%" FontFamily="Champagne &amp; Limousines" Foreground="Green" FontSize="15"/><TextBlock Text="今天的销售增长" Margin="20 0" FontFamily="Champagne &amp; Limousines" Foreground="Gray" FontSize="15"/></StackPanel><StackPanel Orientation="Horizontal" Margin="10 5"><materialDesign:PackIcon Kind="Clock" Foreground="Gray" VerticalAlignment="Center"/><TextBlock Text="更新到4分钟" Margin="5 0" FontFamily="Champagne &amp; Limousines" Foreground="Gray" FontSize="15"/></StackPanel></StackPanel></Grid><Grid Margin="50 20 50 150"><Grid.OpacityMask><VisualBrush Visual="{ Binding ElementName=BorderG2 }"/></Grid.OpacityMask><Border x:Name="BorderG2" CornerRadius="15" Background="#FF340051"/><MetroChart:RadialGaugeChart Background="{x:Null}" ChartTitle="Consumo" ChartSubTitle="" Foreground="LightGray" ><MetroChart:RadialGaugeChart.Series><MetroChart:ChartSeriesDisplayMember="Title"ItemsSource="{Binding Path=Consumo}"SeriesTitle="Consumo"ValueMember="Percent" HorizontalAlignment="Center"/></MetroChart:RadialGaugeChart.Series></MetroChart:RadialGaugeChart></Grid></Grid></Grid></ScrollViewer></Grid><Grid Grid.Row="1"><Grid.Background><LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><GradientStop Color="LightGray" Offset="1"/><GradientStop Color="#FFE6E6E6"/></LinearGradientBrush></Grid.Background><Grid.RowDefinitions><RowDefinition Height="100"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid.Effect><DropShadowEffect BlurRadius="20" Color="#FFDEDEDE" RenderingBias="Quality" ShadowDepth="1"/></Grid.Effect><Grid Background="#FFA46FE4"><Image Source="https://img.dotnet9.com/logo-head.png"/></Grid><StackPanel Grid.Row="1"><Button Margin="10" Background="#FF8522BD" BorderBrush="#FF8522BD"><Grid Width="150"><materialDesign:PackIcon Kind="ViewDashboard" VerticalAlignment="Center"/><TextBlock HorizontalAlignment="Center" Text="仪表盘" FontFamily="Champagne &amp; Limousines"/></Grid></Button><Button Margin="10" Background="#FF8522BD" BorderBrush="#FF8522BD"><Grid Width="150"><materialDesign:PackIcon Kind="Account" VerticalAlignment="Center"/><TextBlock HorizontalAlignment="Center" Text="概况" FontFamily="Champagne &amp; Limousines"/></Grid></Button><Button Margin="10" Background="#FF8522BD" BorderBrush="#FF8522BD"><Grid Width="150"><materialDesign:PackIcon Kind="ContentPaste" VerticalAlignment="Center"/><TextBlock HorizontalAlignment="Center" Text="表格" FontFamily="Champagne &amp; Limousines"/></Grid></Button><Button Margin="10" Background="#FF8522BD" BorderBrush="#FF8522BD"><Grid Width="150"><materialDesign:PackIcon Kind="TshirtCrew" VerticalAlignment="Center"/><TextBlock HorizontalAlignment="Center" Text="产品" FontFamily="Champagne &amp; Limousines"/></Grid></Button><Button Margin="10" Background="#FF8522BD" BorderBrush="#FF8522BD"><Grid Width="150"><materialDesign:PackIcon Kind="TruckDelivery" VerticalAlignment="Center"/><TextBlock HorizontalAlignment="Center" Text="供应商" FontFamily="Champagne &amp; Limousines"/></Grid></Button><Button Margin="10" Background="#FF8522BD" BorderBrush="#FF8522BD"><Grid Width="150"><materialDesign:PackIcon Kind="Settings" VerticalAlignment="Center"/><TextBlock HorizontalAlignment="Center" Text="配置" FontFamily="Champagne &amp; Limousines"/></Grid></Button></StackPanel></Grid><Grid x:Name="GridBarraTitle" Grid.ColumnSpan="2" Background="#FF8522BD" MouseDown="GridBarraTitle_MouseDown"><TextBlock Text="仪表盘演示标题(https://dotnet9.com)" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" FontSize="17"/><StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,0"><Button Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="25" Height="25" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"><materialDesign:PackIcon Kind="Bell"/></Button><Button Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="25" Height="25" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"><materialDesign:PackIcon Kind="Account"/></Button><Button x:Name="ButtonFechar" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="25" Height="25" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Click="ButtonFechar_Click"><materialDesign:PackIcon Kind="Close"/></Button></StackPanel></Grid></Grid>
</Window>

窗口布局代码也不多,就是布局和数据绑定,下面是后台代码:文件【MainWindow.xaml.cs】,ViewModel绑定、关闭窗体、窗体移动等事件处理,因为是演示事例,所以写的简单。

using System.Collections.Generic;
using System.Windows;
using System.Windows.Input;namespace Dashboard1
{/// <summary>/// MainWindow.xaml的逻辑交互/// </summary>public partial class MainWindow : Window{public MainWindow(){InitializeComponent();Consumo consumo = new Consumo();DataContext = new ConsumoViewModel(consumo);}private void ButtonFechar_Click(object sender, RoutedEventArgs e){Application.Current.Shutdown();}private void GridBarraTitle_MouseDown(object sender, MouseButtonEventArgs e){DragMove();}}internal class ConsumoViewModel{public List<Consumo> Consumo { get; private set; }public ConsumoViewModel(Consumo consumo){Consumo = new List<Consumo>();Consumo.Add(consumo);}}internal class Consumo{public string Title { get; private set; }public int Percent { get; private set; }public Consumo(){Title = "电量消耗";Percent = CalcularPercent();}private int CalcularPercent(){return 47; //消费百分比的计算}}
}

3.本文参考

  1. 视频一:C# WPF Material Design UI: Dashboard,配套源码:Dashboard1。
  2. C# WPF开源控件库《MaterialDesignInXAML》

4.源码

演示代码已全部贴上,另可参考原作者配套视频及源码学习,见【3.本文参考】

可运行Demo下载


除非注明,文章均由 Dotnet9 整理发布,欢迎转载。

转载请注明本文地址:https://dotnet9.com/7806.html

欢迎扫描下方二维码关注 Dotnet9 的微信公众号,本站会及时推送最新技术文章

Dotnet9


时间如流水,只能流去不流回!

点击《【阅读原文】》,本站还有更多技术类文章等着您哦!!!

此刻顺便为我点个《【再看】》可好?


http://chatgpt.dhexx.cn/article/MSkfkmrE.shtml

相关文章

WPF界面设计

目录 1.设计一个优美的注册界面1.实现效果2.代码展示 2.简易登录按钮设计1.实现效果2.代码展示 3.设计一个优美的注册登录界面&#xff08;连接数据库&#xff09;1.实现效果2.代码展示 4.设计一个简单的在线教育系统界面1.实现效果2.代码展示 5. 设计一个Dashboard1.实现效果2…

WPF实例系列一:登录、注册界面设计

WPF实例系列一&#xff1a;登录、注册界面设计 文章目录 WPF实例系列一&#xff1a;登录、注册界面设计前言一、实例演示1. 登录界面展示2. 注册界面展示3. 数据存储4. 效果演示 二、结构及源码1.主界面跳转登录界面设计2.登录界面设计3.注册界面设计4.Excel保存数据类设计5.源…

C# WPF界面设计参考 工控机上位机界面 美观炫酷的现代化风格界面设计实际案例分享 界面设计代码

1.动图效果展示 2.界面1 3.界面2 4.界面3 需要界面效果代码的可留言联系博主

WPF界面设计学习

github上发现了一个不错的项目&#xff1a; https://github.com/HenJigg/wpf-uidesign 还配有B站的学习视频&#xff1a; https://space.bilibili.com/32497462 看了这个项目&#xff0c;觉得自己学了这么多年的WPF&#xff0c;界面还设计的这么丑&#xff0c;顿时脸都不知道往…

C# WPF十个美观的界面设计展示

概述 很多时候&#xff0c;我们设计的界面总是感觉缺乏美感&#xff0c;不是我们不会开发好看的界面&#xff0c;而是不知道怎么才算美观&#xff0c;这时候我们不妨看看别人好的页面是怎么做的.下面展示一些我觉得做的比较好的cs界面&#xff0c;希望能给大家在平时做界面设计…

WPF|分享一个登录界面设计

分享一个登录界面&#xff0c;先看效果图&#xff1a; 准备 文中使用到了一些图标&#xff1a; [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ZsHcZCFv-1652400544809)(https://img1.dotnet9.com/2022/05/3402.png)] 我们可以从 iconfont免费下载…

行列式的意义

本文转自http://www.cnblogs.com/AndyJee/p/3491487.html 三、行列式的几何意义&#xff1a; 行列式的定义&#xff1a; 行列式是由一些数据排列成的方阵经过规定的计算方法而得到的一个数。当然&#xff0c;如果行列式中含有未知数&#xff0c;那么行列式就是一个多项式。它…

矩阵——对称行列式快解

1、先化成爪型行列式 2、再化成上三角或下三角 第一步&#xff1a;把第1行的1倍分别加至第2、3、4行&#xff0c;化为爪型行列式 第二步&#xff1a;把第2、3、4列的&#xff08;-1&#xff09;倍都加到第1列&#xff0c;化为上三角 第三步&#xff1a;得出结果

【线性代数】一、行列式和矩阵

一、行列式 文章目录 一、行列式1.1 行列式性质1.2 余子式行列式按照行列展开的展开公式 一、行列式求解1.用行列式2.用矩阵3.用特征值 1.3 行列式计算一、具体形行列式(1)直接运算1.行\列和相等类型2.爪形、异爪形行列式 (2)化为121个基本行列式1. 主副对角线行列式2. 拉普拉斯…

矩阵/行列式的意义

一、代数意义 矩阵乘法规则看起来比较复杂&#xff0c;不容易理解其乘法规则背后隐含的意义。现举一个例子说明矩阵乘法的意义。如下图所示&#xff0c;一个商店出售Beef pie&#xff0c;chicken pie&#xff0c;vegetable pie&#xff0c;其单价分别为3元&#xff0c;4元&…

矩阵的行列式、秩的意义

线性代数真是一个很抽象的东西&#xff0c;即使我们很多人都学过&#xff0c;但是我相信绝大部分的都不知道这是干嘛用的&#xff0c;找了不少资料&#xff0c;终于发现了这么一篇好文章&#xff0c;于是强烈希望可以和大家分享&#xff0c;帮助大伙进一步理解矩阵的行列式和秩…

线代第二章 矩阵 +行列式与矩阵的区别

行列式与矩阵的区别 一、 行列式是一个数&#xff0c;矩阵是一个表格。 &#xff08;行列式都是n阶的方阵&#xff0c;但矩阵不一定是方阵Ann&#xff0c;也可以是Amn&#xff09; 只有n阶矩阵Ann&#xff1a;才有对应的行列式|A|&#xff0c;才能计算对应行列式的模。 二、…

行列式和矩阵的区别

1&#xff0c;本质上 &#xff08;1&#xff09;行列式是一个数&#xff0c;一个值。当有未知数时就是一个表达式。 &#xff08;2&#xff09;矩阵是一个数表&#xff0c;一种数据结构&#xff0c;可以按照数据库表结构来理解&#xff0c;也可以理解成二维数组。 矩阵是不能…

线性代数 —— 矩阵的行列式

1.行列式 排成 n 阶方阵形式的 n^2 个数所确定的一个数称为 n 阶方阵 A 的行列式&#xff0c;记为&#xff1a;det(A) 或 |A| 一个 2x2 的矩阵的行列式可表示为&#xff1a; 2.余子式与代数余子式 将 n 阶行列式中元素 的第 i 行和第 j 列划去后&#xff0c;留下的 n-1 阶…

行列式与矩阵的区别

1、行列式的本质是线性变换的放大率&#xff0c;而矩阵的本质就是个数表。 2、行列式行数列数&#xff0c;矩阵不一定&#xff08;行数列数都等于n的叫n阶方阵&#xff09;&#xff0c;二者的表示方式亦有区别。 3、行列式与矩阵的运算明显不同 &#xff08;1&#xff09; 相…

怎么求矩阵行列式?工作之后的复习

相信很多工作以后的人可能还知道矩阵行列式是什么&#xff0c;但是具体怎么求&#xff0c;可能忘记了&#xff0c;本文则带大家复习下矩阵行列式。深度学习&#xff0c;等等的一些前沿算法&#xff0c;都会用到矩阵额。 一维矩阵的行列式则是本身 二维矩阵的行列式【二阶行列式…

深度之眼(三)——矩阵的行列式

文章目录 一、行列式的定义1.1 二阶行列式1.2 三阶行列式 二、行列式的计算2.1 全排列和逆序列2.2 计算定义 三、特殊矩阵的行列式与行列式的性质3.1 特殊矩阵的行列式3.2 行列式的性质 四、行列式按行&#xff08;列&#xff09;展开&#xff0c;代数余子式五、行列式在线性方…

推荐一些国内外文献检索与免费下载的网站

点击即可打开链接&#xff1a; 1.SCI-Hub 2.CiteSeerX 3.arXiv.org 4.FINDARTICLES 5.scinapse&#xff08;用于检索比较好用&#xff0c;下载不了的在SCI-Hub上下载&#xff09; 6.SAGE journals 7.Open Access Libarary 8.CNPLINKER 9.DSpaceMIT&#xff08;可以搜到…

如何查找下载外文文献,超强外文文献检索网站排名

英文文献哪里找&#xff0c;下面小编给大家推荐几个超强英文文献下载网站&#xff0c;推荐排名如下&#xff1a; 第4名&#xff1a;sci-hub 这个网站很多科研人都知道&#xff0c;优点是可以免费下载英文文献&#xff0c;缺点是网站不太稳定经常换域名&#xff0c;而且需要你明…

干货 | 外文文献哪里找?八大网站免费下载!

来源&#xff1a;研鹿论文 本文约1300字&#xff0c;建议阅读6分钟 本文为你汇总免费外文文献书籍网站。 疫情期间宅在家的你们都做些什么呢&#xff1f;第一次感觉玩手机都这么无聊&#xff0c;小编不由自主地都开始写论文了 可是宅在家里&#xff0c;没有谷歌学术&#xff0c…